Optimal. Leaf size=31 \[ -\frac {2 i a \cos (c+d x) \sqrt {a+i a \tan (c+d x)}}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.042, Rules used = {3574}
\begin {gather*} -\frac {2 i a \cos (c+d x) \sqrt {a+i a \tan (c+d x)}}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3574
Rubi steps
\begin {align*} \int \cos (c+d x) (a+i a \tan (c+d x))^{3/2} \, dx &=-\frac {2 i a \cos (c+d x) \sqrt {a+i a \tan (c+d x)}}{d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.18, size = 31, normalized size = 1.00 \begin {gather*} -\frac {2 i a \cos (c+d x) \sqrt {a+i a \tan (c+d x)}}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.73, size = 42, normalized size = 1.35
method | result | size |
default | \(-\frac {2 i \sqrt {\frac {a \left (i \sin \left (d x +c \right )+\cos \left (d x +c \right )\right )}{\cos \left (d x +c \right )}}\, \cos \left (d x +c \right ) a}{d}\) | \(42\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Both result and optimal contain complex but leaf count of result is larger than
twice the leaf count of optimal. 201 vs. \(2 (25) = 50\).
time = 0.57, size = 201, normalized size = 6.48 \begin {gather*} \frac {2 \, {\left (i \, a^{\frac {3}{2}} - \frac {2 i \, a^{\frac {3}{2}} \sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + \frac {i \, a^{\frac {3}{2}} \sin \left (d x + c\right )^{4}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{4}}\right )} {\left (-\frac {2 i \, \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + \frac {\sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} - 1\right )}^{\frac {3}{2}}}{d {\left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {3}{2}} {\left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - 1\right )}^{\frac {3}{2}} {\left (-\frac {2 i \, \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - \frac {2 i \, \sin \left (d x + c\right )^{3}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{3}} + \frac {\sin \left (d x + c\right )^{4}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{4}} - 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 40, normalized size = 1.29 \begin {gather*} \frac {\sqrt {2} {\left (-i \, a e^{\left (2 i \, d x + 2 i \, c\right )} - i \, a\right )} \sqrt {\frac {a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}}}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (i a \left (\tan {\left (c + d x \right )} - i\right )\right )^{\frac {3}{2}} \cos {\left (c + d x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.23, size = 60, normalized size = 1.94 \begin {gather*} -\frac {a\,\left (2\,{\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^2-1\right )\,\sqrt {\frac {a\,\left (2\,{\cos \left (c+d\,x\right )}^2+\sin \left (2\,c+2\,d\,x\right )\,1{}\mathrm {i}\right )}{2\,{\cos \left (c+d\,x\right )}^2}}\,2{}\mathrm {i}}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________